myChart_wendu = echarts.init(document.getElementById('wendu'));
option_wendu = {
  series: [
    {
      type: 'gauge',
      min: 0,
      max: 50,
      axisLine: {
        lineStyle: {
          width: 20,
          color: [
            [0.3, '#67e0e3'],
            [0.7, '#37a2da'],
            [1, '#fd666d']
          ]
        }
      },
      pointer: {
        itemStyle: {
          color: 'auto'
        }
      },
      axisTick: {
        distance: -20,
        length: 8,
        lineStyle: {
          color: '#fff',
          width: 2
        }
      },
      splitLine: {
        distance: -20,
        length: 20,
        lineStyle: {
          color: '#fff',
          width: 4
        }
      },
      axisLabel: {
        color: 'inherit',
        distance: 35,
        fontSize: 15
      },
      title: {
        offsetCenter: [0, '40%'],
        fontSize: 20,
        color: 'inherit'
      },
      detail: {
        valueAnimation: true,
        formatter: '{value} °C',
        color: 'inherit',
        fontSize: 25,
        offsetCenter: [0, '70%']
      },
      data: [
        {
          value: 0,
          name: '温度'
        }
      ]
    }
  ]
};
myChart_wendu.setOption(option_wendu);
